<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>新闻内容</title>
<link rel="stylesheet" type="text/css" href="<%=basePath%>pages/news/html_news/style/main.css" media="all" />
    <link rel="stylesheet" type="text/css" href="<%=basePath%>pages/news/html_news/style/style.css" />
    <script type="text/javascript" src="<%=basePath%>pages/news/js/jquery-1.5.1.min.js"></script>
	<script type="text/javascript" src="<%=basePath%>pages/news/html_news/js/jquery.easing.1.3.js"></script>
    <script type="text/javascript" src="<%=basePath%>pages/news/html_news/js/sprite.js"></script>
</head>

<body>
<div class="top">
  <div class="logo"></div>
  <div class="search"></div>
  <div class="english"></div>
  <div class="topmenu">
    <ul id="navigationmenu">
        <li><a class="home" href="<%=basePath%>html_news"></a></li>
        <li><a class="services" href="<%=basePath%>html_news/list/?newstypeid=1"></a></li>
        <li><a class="portfolio" href="<%=basePath%>html_news/list/?newstypeid=2"></a></li>
       	<li><a class="about" href="<%=basePath%>html_news/summary"></a></li>
    </ul>
</div>
  <div class="fix"></div>
</div>

<div class="center">
  <div class="centertop"></div>
  <div class="centerimg"></div>
  <div class="centerbottom"></div>
  <div class="fix"></div>
  
  <div class="centercontent">
  	<div class="centerleft">
    	<div class="navigation_top">
    		<div style="font-size: 15px; font-weight: bold; color: #F30; margin: 56px 0 16px 0;"></div>
				<c:forEach var="newss" items="${newss}" begin="0" end="4">
					<ul class="cha_ul">
						<li>
							<a href="<%=basePath%>html_news/listcontent/?news.id=${newss.id}" style="width:160px;  text-overflow:ellipsis; overflow:hidden;white-space:nowrap;">${newss.newsTitle }</a>
						</li>
						<li style="color: #666;">
							点击率：${newss.clickRate }
						</li>
					</ul>
				</c:forEach>
    	</div>
	</div>
    <div class="centerlist">
      <div class="listtitle">
      	<div class="title">
        	<img src="<%=basePath%>pages/news/html_news/images/dot1.png" width="13" height="15"  style=" padding:4px 0 0 2px;"/>
            <img src="<%=basePath%>pages/news/html_news/images/listcontent.png" width="72" height="17" />
        </div>
      </div>
      <div class="newslist">
        <div class="cont_part_c bg_b">
	      <p class="new_t">${news.newsTitle }</p>
		  <p class="new_info"><fmt:formatDate value="${news.newsTime }"pattern="yyyy-MM-dd" /> 发布人:${news.newsPeople.name }</p>
		<div class="new_c">
			${news.newText }
        </div>
      </div>
	</div>
  </div>
    <div class="centerright">
      <div class="shortcut_menu"></div>
    </div>
  <div class="fix"></div>
</div>
<div class="fix"></div>
</div>
<div class="separate"><img src="<%=basePath%>pages/news/html_news/images/separatebg.png" width="941" height="6" /></div>

<div class="bottom">
  <div class="state"></div>
  <div class="query"></div>
  <div class="querybox"></div>
</div>
</body>
</html>
